/**
* COPYRIGHT. whx. ALL RIGHTS RESERVED.
* Project: just-core
* Author: whx <harrywu304@gmail.com>
* Create On: Apr 18, 2012 3:10:43 PM
*/

package org.justframework.api.rpc;


/**
 *RpcService factory
 */
public class RpcServiceFactory {
	
	private static RpcService rpcService;
	
	/**
	 * get rpc service
	 * @return
	 */
	public static RpcService getRpcService(){
		if(rpcService == null){
			rpcService = new RpcServiceImpl();
		}
		return rpcService;
	}
}
